package com.kystar.muxplayer.base;

import android.content.Context;
import android.support.annotation.ArrayRes;
import android.support.annotation.NonNull;
import android.widget.ArrayAdapter;

public class SpinnerAdapter extends ArrayAdapter<String> {

    public SpinnerAdapter(@NonNull Context context, int resource,int dropDownResource, @ArrayRes int arrayIds) {
        super(context, resource, context.getResources().getStringArray(arrayIds));
        setDropDownViewResource(dropDownResource);
    }


}
